
# import numpy as np
# import pandas as pd
# import binascii
# frame = pd.DataFrame(np.random.randn(4, 3), columns=list('bde'), index=['Utah', 'Ohio', 'Texas', 'Oregon'])
# print(frame)
# f = lambda x:x.to_dict()
# print(frame.apply(f,axis=1))

# data=b'\xffAQSH\x00+\x01\x00\x00\x00\xd72\xf6\xdf\xa45\xc7N\xf32\'\xd7A\xa9*j`5N_\x83\xc1\x84\xe4\xc0\x8e\x1d#;\x0cIo^"k.\xad'
# print(bytes.hex(data).encode())
# print(hex(9515433966))
# dd='%x' % 9515433966 
# print(dd)
# print(binascii.unhexlify(dd))

import redis
pool_redis= redis.ConnectionPool(host='localhost',port=6379,decode_responses=True)
mesg_redis=redis.Redis(connection_pool=pool_redis)
mesg_redis.mset()